package com.cmc.cloud.cmclink.doc.vo.blnovo.sisplitvo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author 周贤
 * @date 2025/10/3
 */
@Schema(description = "si可更改的货物信息")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BlnoSplitCargoChangeVO {

    /*@Schema(description = "货物件数")
    private Integer quantity;

    @Schema(description = "货物毛重")
    private BigDecimal grossWeight;

    @Schema(description = "货物尺寸")
    private BigDecimal measurement;

    @Schema(description = "英文品名(货描)")
    private String commodityEn;

    @Schema(description = "中文品名")
    private String commodityCn;

    @Schema(description = "唛头")
    private String marks;*/

   /* @Schema(description = "提单主信息id", example = "24965")
    private Long blnoId;*/

    @Schema(description = "货类", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotBlank(message = "{blnocargo.cargotype.notblank}")
    @Length(max = 5, message = "{blnocargo.cargotype.length}")
    private String cargoType;

    /*@Schema(description = "hscode", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{blnocargo.hscode.notblank}")
    @Length(max = 10, message = "{blnocargo.hscode.length}")
    private String hsCode;*/

    @Schema(description = "包装代码")
    @Length(max = 50, message = "{blnocargo.packagecode.length}")
    private String packageCode;

    @Schema(description = "包装描述")
    @Length(max = 50, message = "{blnocargo.package.length}")
    private String packageDesc;

    @Schema(description = "温度")
    @Length(max = 4, message = "{blnocargo.temperature.length}")
    private String temperature;

    @Schema(description = "温度单位")
    @Length(max = 1, message = "{blnocargo.temperatureunit.length}")
    private String temperatureUnit;

    @Schema(description = "通风度")
    @Length(max = 50, message = "{blnocargo.vantilation.length}")
    private String vantilation;

    @Schema(description = "unno")
    @Length(max = 50, message = "{blnocargo.unno.length}")
    private String unNo;

    @Schema(description = "imoclass")
    @Length(max = 50, message = "{blnocargo.imoclass.length}")
    private String imoClass;

    @Schema(description = "闪点")
    @Length(max = 50, message = "{blnocargo.flashpoint.length}")
    private String flashPoint;

    @Schema(description = "包装组别")
    @Length(max = 5, message = "{blnocargo.packinggroup.length}")
    private String packingGroup;

    @Schema(description = "货类子类", example = "2")
    @Length(max = 10, message = "{blnocargo.cargosubtype.length}")
    private String cargoSubType;
}
